<!--{include manage/header}-->
<body>
<div class="list-div">
<div style="background: none repeat scroll 0% 0% rgb(239, 239, 239); padding: 5px; text-align: right;">
<!--{if getRoleId(94,$userInfo['roleid'])}-->
    <a href="./index.php?file=sysgroup&action=add" class="easyui-linkbutton l-btn l-btn-plain" plain="true"><span class="l-btn-left"><span style="padding-left: 20px;" class="l-btn-text icon-add">添加权限组</span></span></a>
<!--{/if}-->
    <a href="javascript:;" class="easyui-linkbutton l-btn l-btn-plain" plain="true" onClick="window.location.reload();"><span class="l-btn-left"><span style="padding-left: 20px;" class="l-btn-text icon-reload">重载页面</span></span></a>
</div>
<table align="center" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <th style="border-right: 1px solid rgb(204, 204, 204);" width="5%">ID</th>
    <th style="border-right: 1px solid rgb(204, 204, 204);" width="20%">组名</th>
    <th style="text-align: left; padding-left: 20px;">操作</th>
  </tr>
  <!--{loop $groupList $r}-->
    <tr>
    <td style="border-right: 1px solid rgb(204, 204, 204);"><center>{$r['id']}</center></td>
    <td style="border-right: 1px solid rgb(204, 204, 204); text-align: left;" width="20%"><center>{$r['roleName']}</center></td>
    <td style="padding-left: 10px; text-align: left;">
<!--{if getRoleId(95,$userInfo['roleid'])}-->
    	<a href="javascript:void(0);" onClick="sysuser.GroupDel({$r['id']});" class="icon icon-remove" title="删除分组">&nbsp;</a>
<!--{/if}-->
<!--{if getRoleId(96,$userInfo['roleid'])}-->
<a href="./index.php?file=sysgroup&action=edit&gid={$r['id']}" class="icon icon-edit" title="修改栏目权限">&nbsp;</a>
<!--{/if}-->
<!--{if getRoleId(166,$userInfo['roleid'])}-->
<a href="./index.php?file=sysgroup&action=lanmuEdit&gid={$r['id']}" class="icon icon-edit" title="修改栏目权限">&nbsp;</a>
<!--{/if}--></td>
  </tr>
  <!--{/loop}-->
    <tr>
      <td colspan="3" style="border-right: 1px solid rgb(204, 204, 204);"><center>{$pagination->getFooter()}{$pagination->getJumpPage()}</center></td>
	</tr>
    </tbody>
	</table>
</div>
<script type="text/javascript" src="../static/js/sysuser.js"></script>
</body>
</html>